package com.grass.finding.service;

import com.grass.finding.model.domain.Lost;
import com.baomidou.mybatisplus.extension.service.IService;
import com.grass.finding.model.dto.LostDto;

import java.util.List;

/**
* @author 20158
* @description 针对表【lost(被寻找人的信息)】的数据库操作Service
* @createDate 2023-02-21 22:35:30
*/
public interface LostService extends IService<Lost> {

    List<LostDto> getPublishByOpenId(String openId);

    LostDto getPublishByLostId(Integer lostId);

    List<LostDto> searchByName(String name);

    boolean deleteByLostId(Integer lostId);

    List<LostDto> getPublish();

}
